<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			/* p {
				color: red;
			} */
			/* 属性选择器 */
			p[title='123'] {
				color: red;
			}
		</style>
	</head>
	<body>
		<p>1</p>
		<p title="123">2</p>
	</body>
</html>